package com.mali.common.util;

public class RoleConstant {
    public static final String ROLE_USER = "USER";
    public static final String ROLE_ADMIN = "ADMIN";
    public static final String ROLE_SUPER_ADMIN = "SUPER_ADMIN";
    public static final String[] ROLES = new String[]{"USER", "ADMIN", "SUPER_ADMIN"};

    public static final int ROLE_USER_CODE = 0;
    public static final int ROLE_ADMIN_CODE = 1;
    public static final int ROLE_SUPER_ADMIN_CODE = 2;
    public static final int[] ROLES_CODE = { ROLE_USER_CODE, ROLE_ADMIN_CODE, ROLE_SUPER_ADMIN_CODE };
}
